<?php include("header.php"); ?>

<?php if(!Auth::is_logged_in()): ?>
<form action="<?php $t->link('login', 'login'); ?>" method="post">
<p><label for="felhasznalonev">Név: </label><input type="text" name="felhasznalonev" id="felhasznalonev" maxlength="64"/></p>
<p><label for="jelszo">Jelszó: </label><input type="password" name="jelszo" id="jelszo" maxlength="64"/></p>
<p><input type="submit" value="Belépés" /></p>
</form>
<?php else: ?>
<p>Üdvözljük <?php echo Auth::get_felhasznalonev() ?>!</p>
<?php endif; ?>

<?php include("footer.php"); ?>
